package top.lvkun.basic.utils;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;
@Data
@NoArgsConstructor
public class PageList<T> {
    private Integer totals = 0;
    private List<T> rows = new ArrayList<>();
    public PageList(Integer totals, List<T> rows) {
        this.totals = totals;
        this.rows = rows;
    }
}
